{/*<?php
use DataWidget\entity\PageLink;
$nav["sub"]=PageLink::fillList();
?>*/}
<nav>
    {foreach $nav.sub as $key=>$item}
    <span class="{if isset($item.active) && $item.active}active{/if}">
        <a href="{$item.href}" target="{$item.target}">{$item.title}</a>
    </span>
    {/foreach}
</nav>

